package com.xbongbong.pro.statistic.service;

import com.xbongbong.paas.pojo.dto.DwDelLogDTO;
import com.xbongbong.paas.pojo.vo.DwDelLogVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;

/**
 * @ClassName DataWarningStrategyService
 * @Description 数据预警：策略执行
 * @Author mengna.Deng
 * @Date 2021/4/23 10:15
 * @Version 1.0
 */
public interface DataWarningStrategyService {
    /**
     * 执行策略，BI每2小时数据同步后，调用此方法
     *
     * @throws
     * @author mengna.Deng
     * @date 2021/4/23 10:15
     * @since
     * @version
     */
    void dataWarningStrategy(BaseDTO baseDTO);

    /**
     * 批量删除历史记录
     * @throws XbbException
     */
    DwDelLogVO batchPhysicalDelete(DwDelLogDTO dwDelLogDTO) throws XbbException;
}
